﻿@{
    ViewBag.Title = "表单智能设计器";
    Layout = "~/Views/Shared/_LayoutBase.cshtml";
}

@section styles{

    <link type="text/css" href="@Url.Content("~/Content/workflow/flowdesign/css.css")" rel="stylesheet">

}

<form id="frmpost" method="post" name="frmpost" action="">
    <input id="restore" name="restore" value="" type="hidden">
    <div id="myflow_tools" style="position: absolute; top: 10px; left: 10px; background-color: #fff; width: 70px; cursor: default; padding: 3px;" class="ui-widget-content ui-draggable">
        <div id="myflow_tools_handle" style="text-align: center;" class="ui-widget-header">工具箱</div>
        <div class="node" id="myflow_save"><img src="@Url.Content("~/Content/workflow/flowdesign/img/save.gif")">&nbsp;&nbsp;保存</div>
    </div>
    <div id="myflow" class="ui-droppable"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="2124" height="991.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"><desc style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">Created with Raphaël</desc><defs style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></defs><rect x="226" y="36" width="100" height="50" r="8" rx="8" ry="8" fill="#f6f7ff" stroke="#03689a" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></rect><image x="250" y="37" width="48" height="48" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="@Url.Content("~/Content/workflow/flowdesign/img/48/task_empty.png")" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></image><text x="300" y="46.83333349227905" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: italic; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; display: none;" font-style="italic"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">&lt;&lt;task&gt;&gt;</tspan></text><text x="276" y="65.44444465637207" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Arial;" font-size="13px"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">1.填写请假单</tspan></text><path fill="none" stroke="#000000" d="M221,31L221,91L331,91L331,31L221,31" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></path><rect x="273.5" y="28.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="218.5" y="28.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: nw-resize; display: none;"></rect><rect x="218.5" y="58.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="218.5" y="88.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: sw-resize; display: none;"></rect><rect x="273.5" y="88.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="328.5" y="88.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: se-resize; display: none;"></rect><rect x="328.5" y="58.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="328.5" y="28.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: ne-resize; display: none;"></rect><rect x="32" y="181" width="124" height="50" r="8" rx="8" ry="8" fill="#f6f7ff" stroke="#03689a" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></rect><image x="56" y="182" width="48" height="48" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="flowdesign/img/48/task_empty.png" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></image><text x="118" y="191.8333296775818" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: italic; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; display: none;" font-style="italic"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">&lt;&lt;task&gt;&gt;</tspan></text><text x="94" y="210.44444465637207" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Arial;" font-size="13px"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2.科长、分管处领导</tspan></text><path fill="none" stroke="#000000" d="M27,176L27,236L161,236L161,176L27,176" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></path><rect x="91.5" y="173.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="24.5" y="173.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: nw-resize; display: none;"></rect><rect x="24.5" y="203.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="24.5" y="233.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: sw-resize; display: none;"></rect><rect x="91.5" y="233.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="158.5" y="233.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: se-resize; display: none;"></rect><rect x="158.5" y="203.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="158.5" y="173.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: ne-resize; display: none;"></rect><rect x="215" y="186" width="123" height="50" r="8" rx="8" ry="8" fill="#f6f7ff" stroke="#03689a" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></rect><image x="239" y="187" width="48" height="48" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="flowdesign/img/48/task_empty.png" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></image><text x="300.5" y="196.8333296775818" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: italic; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; display: none;" font-style="italic"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">&lt;&lt;task&gt;&gt;</tspan></text><text x="276.5" y="215.44444465637207" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Arial;" font-size="13px"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">3.市局机关处室意见</tspan></text><path fill="none" stroke="#000000" d="M210,181L210,241L343,241L343,181L210,181" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></path><rect x="274" y="178.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="207.5" y="178.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: nw-resize; display: none;"></rect><rect x="207.5" y="208.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="207.5" y="238.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: sw-resize; display: none;"></rect><rect x="274" y="238.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="340.5" y="238.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: se-resize; display: none;"></rect><rect x="340.5" y="208.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="340.5" y="178.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: ne-resize; display: none;"></rect><rect x="381" y="185" width="100" height="50" r="8" rx="8" ry="8" fill="#f6f7ff" stroke="#03689a" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></rect><image x="405" y="186" width="48" height="48" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="flowdesign/img/48/task_empty.png" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></image><text x="455" y="195.8333296775818" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: italic; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; display: none;" font-style="italic"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">&lt;&lt;task&gt;&gt;</tspan></text><text x="431" y="214.44444465637207" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Arial;" font-size="13px"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">4.处办</tspan></text><path fill="none" stroke="#000000" d="M376,180L376,240L486,240L486,180L376,180" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></path><rect x="428.5" y="177.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="373.5" y="177.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: nw-resize; display: none;"></rect><rect x="373.5" y="207.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="373.5" y="237.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: sw-resize; display: none;"></rect><rect x="428.5" y="237.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="483.5" y="237.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: se-resize; display: none;"></rect><rect x="483.5" y="207.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="483.5" y="177.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: ne-resize; display: none;"></rect><rect x="551" y="184" width="124" height="50" r="8" rx="8" ry="8" fill="#f6f7ff" stroke="#03689a" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></rect><image x="575" y="185" width="48" height="48" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="flowdesign/img/48/task_empty.png" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></image><text x="637" y="194.8333296775818" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: italic; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; display: none;" font-style="italic"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">&lt;&lt;task&gt;&gt;</tspan></text><text x="613" y="213.44444465637207" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Arial;" font-size="13px"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">5.市局分管领导意见</tspan></text><path fill="none" stroke="#000000" d="M546,179L546,239L680,239L680,179L546,179" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); display: none;"></path><rect x="610.5" y="176.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="543.5" y="176.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: nw-resize; display: none;"></rect><rect x="543.5" y="206.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="543.5" y="236.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: sw-resize; display: none;"></rect><rect x="610.5" y="236.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: s-resize; display: none;"></rect><rect x="677.5" y="236.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: se-resize; display: none;"></rect><rect x="677.5" y="206.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: w-resize; display: none;"></rect><rect x="677.5" y="176.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: ne-resize; display: none;"></rect><path fill="none" stroke="#808080" d="M238.3448275862069,91L185,133.5L131.6551724137931,176" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M131.6551724137931,176L138.5064788314383,174.97063108093664L134.1893659888407,169.55191013367622Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="182.5" y="131" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="235.8448275862069" y="88.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="129.1551724137931" y="173.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="185" y="126.83332967758179" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"><tspan style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">5431</tspan></text><path fill="none" stroke="#808080" d="M276.1,91L276.25,136L276.4,181" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M276.4,181L279.8440824813993,174.98848639182128L272.91591774082104,175.01158027428986Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="273.75" y="133.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="273.6" y="88.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="273.9" y="178.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="276.25" y="126" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"></text><path fill="none" stroke="#808080" d="M131.6551724137931,176L185,133.5L238.3448275862069,91" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M238.3448275862069,91L231.4935211685617,92.02936891906334L235.8106340111593,97.44808986632377Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="182.5" y="131" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="129.1551724137931" y="173.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="235.8448275862069" y="88.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="160" y="125.5" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"></text><path fill="none" stroke="#808080" d="M161,207.83561643835617L185.5,208.5068493150685L210,209.17808219178082" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M210,209.17808219178082L204.09712185729916,205.55095803724396L203.9073792681405,212.4765625415352Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="183" y="206.0068493150685" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="158.5" y="205.33561643835617" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="207.5" y="206.67808219178082" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="185.5" y="198.5068493150685" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"></text><path fill="none" stroke="#808080" d="M343,210.5695792880259L359.5,210.46278317152104L376,210.3559870550162" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M376,210.3559870550162L369.97770477546476,206.9307921366882L370.0225465755469,213.85885024938943Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="357" y="207.96278317152104" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="340.5" y="208.0695792880259" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="373.5" y="207.8559870550162" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="359.5" y="200.46278317152104" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"></text><path fill="none" stroke="#808080" d="M486,209.6978021978022L516,209.532967032967L546,209.36813186813185" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M546,209.36813186813185L539.9810573286641,205.93704907706268L540.0191238047785,212.8651477298964Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="513.5" y="207.032967032967" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="483.5" y="207.1978021978022" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="543.5" y="206.86813186813185" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="516" y="199.532967032967" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"></text><path fill="none" stroke="#808080" d="M546,209.36813186813185L516,209.532967032967L486,209.6978021978022" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><path fill="#808080" stroke="#808080" d="M486,209.6978021978022L492.018942671336,213.12888498887136L491.98087619522147,206.20078633603765Z" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); stroke-width: 2;"></path><rect x="513.5" y="207.032967032967" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 3; display: none;"></rect><rect x="543.5" y="206.86813186813185" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><rect x="483.5" y="207.1978021978022" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: move; stroke-width: 2; display: none;"></rect><text x="516" y="199.532967032967" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Arial; cursor: move;"></text></svg></div>
</form>


@section scripts{
    <script type="text/javascript" src="@Url.Content("~/Content/workflow/flowdesign/lib/raphael-min.js")"></script>
    @*<script type="text/javascript" src="@Url.Content("~/Content/workflow/flowdesign/lib/jquery-ui-1.8.4.custom/js/jquery.min.js")"></script>*@
    <script type="text/javascript" src="@Url.Content("~/Content/workflow/flowdesign/lib/jquery-ui-1.8.4.custom/js/jquery-ui.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/workflow/flowdesign/myflow.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/workflow/flowdesign/myflow.jpdl4.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/workflow/flowdesign/myflow.editors.js")"></script>
    <script type="text/javascript">
        $(function () {
            $('#myflow')
                .myflow(
                    {
                        basePath: "",
                    restore: eval("({states:{rect1:{type:'task',text:{text:'1.填写请假单'}, attr:{ x:226, y:36, width:100, height:50}},rect2:{type:'task',text:{text:'2.科长、分管处领导'}, attr:{ x:32, y:181, width:124, height:50}},rect3:{type:'task',text:{text:'3.市局机关处室意见'}, attr:{ x:215, y:186, width:123, height:50}},rect4:{type:'task',text:{text:'4.处办'}, attr:{ x:381, y:185, width:100, height:50}},rect5:{type:'task',text:{text:'5.市局分管领导意见'}, attr:{ x:551, y:184, width:124, height:50}}},paths:{path6:{from:'rect1',to:'rect2',dots:[],text:{text:'5431'},textPos:{x:0,y:-10}, props:{text:{value:''}}},path7:{from:'rect1',to:'rect3',dots:[],text:{text:''},textPos:{x:0,y:-10}, props:{text:{value:''}}},path8:{from:'rect2',to:'rect1',dots:[],text:{text:''},textPos:{x:-25,y:-8}, props:{text:{value:''}}},path9:{from:'rect2',to:'rect3',dots:[],text:{text:''},textPos:{x:0,y:-10}, props:{text:{value:''}}},path10:{from:'rect3',to:'rect4',dots:[],text:{text:''},textPos:{x:0,y:-10}, props:{text:{value:''}}},path11:{from:'rect4',to:'rect5',dots:[],text:{text:''},textPos:{x:0,y:-10}, props:{text:{value:''}}},path12:{from:'rect5',to:'rect4',dots:[],text:{text:''},textPos:{}, props:{text:{value:''}}}}})"),
                        tools: {
                            save: {
                                onclick: function (data) {
                                    $("#restore").val(data);
                                    $("#frmpost").submit();
                                }
                            }
                        }
                    });
        });
    </script>
}
